<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>注册页面</h2>
    <!-- 
        http://localhost:8080/reg => 注册接口
     -->
    <form action="http://localhost:8080/reg" method="get">
        账号: <input type="text" placeholder="请输入账号" name="account"><br>
        密码: <input type="password" placeholder="请输入密码" name="password"><br>
        <!-- 
            比如: 当我们的前端传入一个
                account:admin   password:123456
                服务器=> {account:admin,password:123456}
         -->
        <button>注册</button>
    </form>
</body>
</html>